package org.example.dish_pojo;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import java.math.BigDecimal;


/**
* 今日菜品销售排行榜信息表
* @TableName dish_sales
**/
@AllArgsConstructor
@NoArgsConstructor
@Data
 @TableName("dish_sales")
public class DishSales implements Serializable {

    /**
    * 自增主键，用于唯一标识每条记录
    */

    private Integer id;
    /**
    * 菜品编号
    */

    private String dishId;
    /**
    * 菜品名称
    */

    private String dishName;
    /**
    * 单价
    */

    private BigDecimal unitPrice;
    /**
    * 销售笔数
    */

    private Integer salesQuantity;
    /**
    * 销售金额
    */

    private BigDecimal salesAmount;
    /**
    * 折扣额度
    */

    private Integer discountAmount;

    /**
    * 自增主键，用于唯一标识每条记录
    */
    private void setId(Integer id){
    this.id = id;
    }

    /**
    * 菜品编号
    */
    private void setDishId(String dishId){
    this.dishId = dishId;
    }

    /**
    * 菜品名称
    */
    private void setDishName(String dishName){
    this.dishName = dishName;
    }

    /**
    * 单价
    */
    private void setUnitPrice(BigDecimal unitPrice){
    this.unitPrice = unitPrice;
    }

    /**
    * 销售笔数
    */
    private void setSalesQuantity(Integer salesQuantity){
    this.salesQuantity = salesQuantity;
    }

    /**
    * 销售金额
    */
    private void setSalesAmount(BigDecimal salesAmount){
    this.salesAmount = salesAmount;
    }

    /**
    * 折扣额度
    */
    private void setDiscountAmount(Integer discountAmount){
    this.discountAmount = discountAmount;
    }


    /**
    * 自增主键，用于唯一标识每条记录
    */
    private Integer getId(){
    return this.id;
    }

    /**
    * 菜品编号
    */
    private String getDishId(){
    return this.dishId;
    }

    /**
    * 菜品名称
    */
    private String getDishName(){
    return this.dishName;
    }

    /**
    * 单价
    */
    private BigDecimal getUnitPrice(){
    return this.unitPrice;
    }

    /**
    * 销售笔数
    */
    private Integer getSalesQuantity(){
    return this.salesQuantity;
    }

    /**
    * 销售金额
    */
    private BigDecimal getSalesAmount(){
    return this.salesAmount;
    }

    /**
    * 折扣额度
    */
    private Integer getDiscountAmount(){
    return this.discountAmount;
    }
    @Override
    public String toString() {
        return "DishSales{" +
                "id=" + id +
                ", dishId='" + dishId + '\'' +
                ", dishName='" + dishName + '\'' +
                ", unitPrice=" + unitPrice +
                // 其他属性...
                '}';
    }
}
